<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="com.knowledge.DAO.KnowledgeDAO.DataSource" %>
<%@ page import="com.knowledge.model.New" %>
<%
	List<New> list = DataSource.queryNewList("2");
	System.out.println(list);
	if(list != null)
	for(New r: list){
		System.out.println(r.getOwnName());
		System.out.println(r.getTitle());
		System.out.println(r.getSummary());
	}
%>